/* components/loginpop/loginpop.wxss */
.mask {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #F6F7F8;
  border-radius: 30rpx 30rpx 0rpx 0rpx;
}

.dialog .no-login {
  align-self: flex-end;
  padding: 36rpx 37rpx 0 0;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 26rpx;
  color: rgba(0, 0, 0, 0.5);
  line-height: 37rpx;
}

.dialog .logo {
  width: 180rpx;
  height: 180rpx;
}

.dialog .name {
  margin-top: 20rpx;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 32rpx;
  color: #31315A;
  line-height: 45rpx;
}

.dialog .login-btn {
  margin-top: 222rpx;
}

.dialog .login-btn .login {
  width: 630rpx;
  height: 90rpx;
  background: #827CF9;
  border: 1rpx solid rgba(255, 255, 255, 0.8);
  color: #FFFFFF;
}

.dialog .agreement {
  align-self: center;
  display: flex;
  align-items: flex-start;
  margin-top: 44rpx;
  margin-bottom: 62rpx;
}

.dialog .agreement .circle {
  flex-shrink: 0;
  width: 30rpx;
  height: 30rpx;
}

.dialog .agreement .agree {
  margin-left: 10rpx;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 22rpx;
  color: #000000;
  line-height: 30rpx;
}

.dialog .agreement span {
  color: #2953F4;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

.dialog .shake {
  animation: shake 0.5s;
}

.code-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 794rpx;
  background: #EAECF6;
  border-radius: 30rpx 30rpx 0rpx 0rpx;
}

.code-dialog .main {
  display: flex;
  flex-direction: column;
  width: 654rpx;
  height: 625rpx;
  background: #FFFFFF;
  padding-bottom: 46rpx;
  border-radius: 36rpx;
}

.code-dialog .main .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35rpx 30rpx 0 42rpx;
}

.code-dialog .main .title .left {
  display: flex;
}

.code-dialog .main .title .left .logo {
  width: 100rpx;
  height: 100rpx;
  border-radius: 36rpx;
}

.code-dialog .main .title .left .info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100rpx;
  margin-left: 23rpx;
}

.code-dialog .main .title .left .info .name {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 32rpx;
  color: #000000;
  line-height: 45rpx;
}

.code-dialog .main .title .left .info .type {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 24rpx;
  color: rgba(0, 0, 0, 0.5);
  line-height: 33rpx;
}

.code-dialog .main .title .right {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 26rpx;
  color: rgba(0, 0, 0, 0.5);
  line-height: 37rpx;
}

.code-dialog .main .login {
  margin-top: 37rpx;
  padding: 0 30rpx;
}

.code-dialog .main .login .phone,
.code-dialog .main .login .code {
  display: flex;
  align-items: center;
  padding: 33rpx 13rpx 27rpx 13rpx;
  border-bottom: 1rpx solid #EBEBEB;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 26rpx;
  color: #000000;
  line-height: 37rpx;
}

.code-dialog .main .login .phone .label,
.code-dialog .main .login .code .label {
  flex-shrink: 0;
  margin-right: 42rpx;
}

.code-dialog .main .login .phone .code-btn,
.code-dialog .main .login .code .code-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200rpx;
  height: 60rpx;
  margin-left: 5rpx;
  background: #9797FF;
  border-radius: 12rpx;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 24rpx;
  color: #FFFFFF;
  line-height: 33rpx;
}

.code-dialog .main .agreement {
  align-self: center;
  display: flex;
  align-items: flex-start;
  margin-top: 44rpx;
  margin-bottom: 62rpx;
}

.code-dialog .main .agreement .circle {
  width: 30rpx;
  height: 30rpx;
}

.code-dialog .main .agreement .agree {
  margin-left: 10rpx;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 22rpx;
  color: #000000;
  line-height: 30rpx;
}

.code-dialog .main .agreement span {
  color: #2953F4;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

.code-dialog .main .shake {
  animation: shake 0.5s;
}

.code-dialog .main custom-btn {
  padding: 0 47rpx;
}

.slide-out {
  animation: slideOut 0.5s forwards;
}

.slide-in {
  animation: slideLeft 0.5s forwards;
}

@keyframes slideLeft {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
